{extend name="base"/}
 {block name="content"}
 <div id="header-frame">
 {include file="public:top" /}
 </div>
 <div id="frame-body">
 <div id="menu-frame" style="width: 220px;float: left;">
 {include file="public:menu" /}
 </div>
 <div id="main-frame" style="float: left;">
 <a  onclick="add()">厉害</a>
  <div id="id"></div>
  <script>
   function add(callBack)
   {
       alert(1);
     var a=1;
     if(a)
     {
        var b=2;
     }
       alert(a,b);
       callBack&&callBack(c=3);

   }
  </script>
 </div>
  </div>
 {/block}

